package com.ruoyi.ipms_crm.service;

import com.ruoyi.ipms_crm.dto.*;
import com.ruoyi.ipms_crm.entity.Customer;

import java.util.List;

/*客户业务接口*/
public interface CustomerService {

    /*查找--通过id查找客户*/
    Customer selectCustomerById(Integer customerId);

    List<Customer> SelectCustomerListByUserId(Customer customer);

    List<Customer> selectListByCustomerSeas(Customer customer);

    int insertCustomer(Customer customer);

    int updateCustomerById(Customer customer);

    int deleteCustomerByIds(Integer[] customerId);

    CustomerDetailsDto selectCustomerDetails(Integer customerId);

    List<CustomerAndInventorDto> selectInventorForCustomer(Integer customerId);

    List<CustomerAndApplicationDto> selectApplicantForCustomer(Integer customerId);

    List<CustomerOfContractDto> selectContractForCustomer(Integer customerId);

    List<CustomerOfCaseDto> selectCaseForCustomer(Integer customerId);

    List<Customer> selectRecycleCustomerList(Customer customer);

    boolean updateCustomer(List customerIds);
}
